package com.iking.housekeeping.entity.export;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

/**
 * @Author root
 * @Date 2018/5/18
 * @Describe
 */
public class ExportModel{
    //sheet名称
    private  String sheetName;
    //title名称
    private  String titleName;
    //显示的导出表的标题
    private String[] columnName;
    //显示的导出表的属性列
    private String[] propertyName;
    //要导出的数据
    private List<Map<String,Object>> dataList;
    //显示的导出表的复合标题
    private Object[] columnNames;
   //统计未失能人数
    private  int count;

    public String getSheetName() {
        return sheetName;
    }

    public void setSheetName(String sheetName) {
        this.sheetName = sheetName;
    }

    public String getTitleName() {
        return titleName;
    }

    public void setTitleName(String titleName) {
        this.titleName = titleName;
    }

    public String[] getColumnName() {
        return columnName;
    }

    public void setColumnName(String[] columnName) {
        this.columnName = columnName;
    }

    public String[] getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String[] propertyName) {
        this.propertyName = propertyName;
    }

    public List<Map<String, Object>> getDataList() {
        return dataList;
    }

    public void setDataList(List<Map<String, Object>> dataList) {
        this.dataList = dataList;
    }

    public Object[] getColumnNames() {
        return columnNames;
    }

    public void setColumnNames(Object[] columnNames) {
        this.columnNames = columnNames;
    }

    public int getCount() {
        return count;
    }
    public void setCount(int count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "ExportModel{" +
                "sheetName='" + sheetName + '\'' +
                ", titleName='" + titleName + '\'' +
                ", columnName=" + Arrays.toString(columnName) +
                ", propertyName=" + Arrays.toString(propertyName) +
                ", dataList=" + dataList +
                '}';
    }
}
